/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.model;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;

/**
 *
 * @author mudassar
 */
public class SmsSendData implements Serializable{
  //  private int smsTypeId;
    private int smsTemplateId;
    private String smsBody;
    private String smsPhoneNos;
    private String smsStatus;
    
    public int getSmsTemplateId() {
        return smsTemplateId;
    }

    public void setSmsTemplateId(int smsTemplateId) {
        this.smsTemplateId = smsTemplateId;
    }

    public String getSmsBody() {
        return smsBody;
    }

    public void setSmsBody(String smsBody) {
        this.smsBody = smsBody;
    }

    public String getSmsPhoneNos() {
        return smsPhoneNos;
    }

    public void setSmsPhoneNos(String smsPhoneNos) {
        this.smsPhoneNos = smsPhoneNos;
    }

    public String getSmsStatus() {
        return smsStatus;
    }

    public void setSmsStatus(String smsStatus) {
        this.smsStatus = smsStatus;
    }

//    public int getSmsTypeId() {
//        return smsTypeId;
//    }
//
//    public void setSmsTypeId(int smsTypeId) {
//        this.smsTypeId = smsTypeId;
//    }
    
    public String getEncodedSmsBody() throws UnsupportedEncodingException {
        return java.net.URLEncoder.encode(this.smsBody.trim(), "UTF-8");
    }
}
